package com.jadesoft.stock.entity;


public class SysCode {
	private Long id;
	/**
	 * 代码
	 */
	private String code; 
	
	/**
	 * 名称
	 */
	private String name;
	
	/**
	 * 父编码
	 */
	private String parentCode;
	
	/**
	 * 层级
	 */
	private Integer level;
	
	/**
	 * 类别
	 */
	private String category;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}


	public SysCode(String code, String name, String parentCode, Integer level,
			String category) {
		super();
		this.code = code;
		this.name = name;
		this.parentCode = parentCode;
		this.level = level;
		this.category = category;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}


	public SysCode() {
		super();
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
	
}
